package com.ebt.m.proposal_v2.widget.dialog;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;

import com.ebt.m.R;
import com.ebt.m.widget.EBTProgress;

/**
 * @author archer.qi
 *         Created on 2017/6/13.
 */
public class EBTProgressDialog extends DialogBase {

    EBTProgress progressBar;

    public EBTProgressDialog(Context context) {
        super(context);
    }

    @Override
    protected View createView() {
        View dialogView = ((LayoutInflater) getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE))
                .inflate(R.layout.dialog_ebt_progress, null);
        progressBar = (EBTProgress) dialogView.findViewById(R.id.loading);
        return dialogView;
    }

    @Override
    protected void bindView() {
        setCancelable(true);
    }

    @Deprecated
    public void setMessage(String msg) {

    }

}
